package com.study.talk.module.netty.message.request;

import com.study.talk.module.entity.UserInfo;
import com.study.talk.module.netty.message.MessageType;
import com.study.talk.module.netty.message.TalkMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 邀请加入群聊请求
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class InviteGroupRequest extends TalkMessage {


    @ApiModelProperty("群聊id")
    private Integer groupId;

    @ApiModelProperty("邀请的好友id")
    private List<Integer> userList;

    @Override
    public byte getType() {
        return MessageType.INVITE_GROUP_REQUEST;
    }
}
